package com.edu.service.impl;

import com.edu.mapper.AdminMapper;
import com.edu.pojo.Admin;
import com.edu.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @作者 five-five
 * @创建时间 2021/1/16
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminMapper adminMapper;

    @Override
    public Admin getById(String id) {
        return adminMapper.selectByPrimaryKey(id);
    }
}
